package fit.deni.hibernate.interfaces;

import java.util.Collection;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import fit.deni.beans.Clan;

public interface ClanService {

	@CommitAfter
	public abstract void addClient(Clan clan);
	@CommitAfter
	public void deleteClient(Clan clan);
	
	public abstract Collection<Clan> getAll();
	
	public Clan getClientById(int id);

}